package com.skzh.pilotlicense.domain;

import com.skzh.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 飞行执照对象 pilot_license
 * 
 * @author skzh
 */
public class PilotLicense extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 执照ID */
    private Long licenseId;

    /** 用户ID */
    private Long userId;

    /** 执照类型（UTC、ASFC、CAAC） */
    private String licenseType;

    /** 执照编号 */
    private String licenseNumber;

    /** 到期日期 */
    private String expiryDate;

    /** 执照图片路径 */
    private String imagePath;

    public Long getLicenseId() {
        return licenseId;
    }

    public void setLicenseId(Long licenseId) {
        this.licenseId = licenseId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLicenseType() {
        return licenseType;
    }

    public void setLicenseType(String licenseType) {
        this.licenseType = licenseType;
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("licenseId", getLicenseId())
                .append("userId", getUserId())
                .append("licenseType", getLicenseType())
                .append("licenseNumber", getLicenseNumber())
                .append("expiryDate", getExpiryDate())
                .append("imagePath", getImagePath())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
} 